﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace VisionCloud.Core.Model.Ms
{
    [Table("MsPointTypeMeasureItem")]
    public partial class MsPointTypeMeasureItem
    {
        /// <summary>
        /// UUID
        /// </summary>
        [Column(TypeName = "uuid")]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid Id { get; set; }

        /// <summary>
        /// 类型UUID
        /// </summary>
        [Column(TypeName = "uuid")]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid MsPointTypeId { get; set; }

        /// <summary>
        /// 标准项UUID
        /// </summary>
        [Column(TypeName = "uuid")]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid ProjectStandardId { get; set; }

        /// <summary>
        /// 选择否
        /// </summary>
        [Column(TypeName = "bool")]
        public bool IsChecked { get; set; }

        [Column(TypeName = "uuid")]
        public Guid CompanyGuid { get; set; }

        [Column(TypeName = "uuid")]
        public Guid ProjectGuid { get; set; }

        [Key]
        [Column(TypeName = "uuid")]
        public Guid MsPointTypeMeasureItemId { get; set; }
    }
}